package com.mgkj.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author yyyjcg
 * @date 2024/3/6
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EnableSwagger2
@ApiModel(value = "采购收货提交DTO")
public class PurchaseReceiptStorageDto {
    @ApiModelProperty(value = "e10采购单号/易飞到货单号",required = true)
    private String docNo;

    @ApiModelProperty(value = "序号")
    @JSONField(ordinal = 2)
    private String xh;

    @ApiModelProperty(value = "创建人/审核人")
    @JSONField(ordinal = 3)
    private String creator ;

    @ApiModelProperty(value = "e10匹配量（数量）/易飞验收数量",required = true)
    @JSONField(ordinal = 4)
    private Double matchQty;

    @ApiModelProperty(value = "验退数量",required = true)
    @JSONField(ordinal = 5)
    private Double returnQty = 0.00;

    @ApiModelProperty(value = "报废数量",required = true)
    @JSONField(ordinal = 6)
    private Double scrapQty = 0.00;

    @ApiModelProperty(value = "破坏数量",required = true)
    @JSONField(ordinal = 7)
    private Double breakQty = 0.00;


    //------------------------------------以下为e10字段-
    @ApiModelProperty(value = "收货机构(工厂号)",required = true)
    private String shjg;

    @ApiModelProperty(value = "条码",required = true)
    private String barcode;

    @ApiModelProperty(value = "仓库编码",required = true)
    private String warehouseCode;

    @ApiModelProperty(value = "库位编码",required = true)
    private String binCode;

    @ApiModelProperty(value = "单位",required = true)
    private String unitCode;

    @ApiModelProperty(value = "品号",required = true)
    private String itemCode;

    @ApiModelProperty(value = "拒收数量",required = true)
    private Double rejectQty = 0.00;

    @ApiModelProperty(value = "备注",required = false)
    private String remark = "";







}